# coding:UTF-8
import time

timestamp = 1611729230
# 1611729230
# 1611729420

#
# timestamp = int(timestamp)
# 转换成localtime

time_local = time.localtime(timestamp)
# 转换成新的时间格式

dt = time.strftime("%Y-%m-%d %H:%M:%S", time_local)
print(dt)
